public class AnimalTest{
    public static void main(String[] args){
        Animal a = new Animal();
        a.eat();
        a.sleep();
        Cat c = new Cat();
        c.eat();
        c.sleep();
        Dog d = new Dog();
        d.eat();
        d.sleep();
    }
    
}